FROM openjdk:17
ENV BASE_PATH=/apps
WORKDIR $BASE_PATH
ADD ./target/*.jar $BASE_PATH/app.jar
EXPOSE 20000
ENTRYPOINT ["java","-jar","/apps/app.jar"]